package per.jerry.flightinformation.service;

import java.util.List;

import per.jerry.flightinformation.entity.FlightTickets;
import per.jerry.flightinformation.entity.Flights;

public interface FlightService {
	
	/**
	 * 根据条件查询航班信息
	 * @param date
	 * @param takeCityName
	 * @param landingCityName
	 * @return
	 */
	List<Flights> findFlightsByParams(String date, String takeCityName,
			String landingCityName);
	
	/**
	 * 根据航班编号获取机票列表
	 * @param flightId
	 * @return
	 */
	List<FlightTickets> findTicketsByFlightId(int flightId);

	
	void saveFlightTicket(FlightTickets ft);
	
}
